package com.cyh.testdesignpattern.appearance;

import android.util.Log;

//爆米花机
public class Popcorn {
    private static Popcorn instance = new Popcorn();
    public static Popcorn getInstance() {
        return instance;
    }

    public void on() {
        Log.i("Popcorn", "Popcorn on");
    }

    public void off() {
        Log.i("Popcorn", "Popcorn off");
    }

    public void pop() {
        Log.i("Popcorn", "Popcorn is pop");
    }
}
